﻿using System;

class BonusScores
{
    static void Main()
    {
        int number;

        Console.WriteLine("Type a number:");
        bool isFirstNumberValid = int.TryParse(Console.ReadLine(), out number);

        if (isFirstNumberValid || number != 0)
        {
            switch (number)
            {
                case 1:
                case 2:
                case 3:
                    Console.WriteLine("Final score is {0}!", number * 10);
                    break;
                case 4:
                case 5:
                case 6:
                    Console.WriteLine("Final score is {0}!", number * 100);
                    break;
                case 7:
                case 8:
                case 9:
                    Console.WriteLine("Final score is {0}!", number * 1000);
                    break;
                default:
                    Console.WriteLine("Final score is {0}!", number);
                    break;
            }
        }
        else
        {
            Console.WriteLine("Your input isn`t OK!!!");
        }
    }
}